<template>
	<view class="content">
		<u-sticky>
			<view class="ui_tabs">
				<u-tabs :list="tabs" @click="click" lineWidth="20" lineColor="#9F6F26" :scrollable="false"></u-tabs>
			</view>
		</u-sticky>
		<view style="height: 20rpx;"></view>
		<view class="ui_list">
			<view class="ui_list_item">
				<image class="ui_list_item_img" src="/static/img/icon_settlement_commit.png" mode=""></image>
				<view class="ui_list_item_text">提交结算 <p>财务结算中</p>
				</view>
				<view class="ui_list_item_time">2024-04-10 12:45:56</view>
				<view class="ui_list_item_money">-200.00</view>
				<view class="ui_list_item_last">余额0.00</view>
			</view>
			<view class="ui_list_item">
				<image class="ui_list_item_img" src="/static/img/icon_settlement_commit.png" mode=""></image>
				<view class="ui_list_item_text">提交结算 <p style="color: #999999;">已到账</p>
				</view>
				<view class="ui_list_item_time">2024-04-10 12:45:56</view>
				<view class="ui_list_item_money">-200.00</view>
				<view class="ui_list_item_last">余额0.00</view>
			</view>
			<view class="ui_list_item" v-for="(item,index) in 10" :key="index">
				<image class="ui_list_item_img" src="/static/img/icon_settlement_done.png" mode=""></image>
				<view class="ui_list_item_text">订单到账 </view>
				<view class="ui_list_item_time">2024-04-10 12:45:56</view>
				<view class="ui_list_item_money">-200.00</view>
				<view class="ui_list_item_last">余额0.00</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
				tabs: [{
					name: '全部',
				}, {
					name: '支出',
				}, {
					name: '收入',
				}]
			}
		},
		methods: {
			click(item) {
				console.log('item', item);
			},

		}
	}
</script>

<style lang="less">
	.content {
		width: 750rpx;
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		
		.ui_tabs {
			width: 750rpx;
			background-color: #fff;
			margin-bottom: 1rpx;
		}
		
		.ui_list {
			width: 750rpx;
			display: flex;
			flex-direction: column;
			background: #FFFFFF;
		
			&_item {
				margin-left: 18rpx;
				width: 714rpx;
				height: 140rpx;
				border-radius: 10rpx;
				display: flex;
				position: relative;
				border-bottom: 1rpx solid #E6E6E6;
				;
		
				&_img {
					width: 80rpx;
					height: 80rpx;
					border-radius: 40rpx;
					border: 4px solid #FFFFFF;
					margin: 20rpx 30rpx;
				}
		
				&_text {
					position: absolute;
					top: 30rpx;
					left: 138rpx;
					font-family: PingFang SC;
					font-weight: bold;
					font-size: 28rpx;
					color: #3E3A39;
					line-height: 48rpx;
					display: flex;
					align-items: center;
		
					p {
						margin-left: 10rpx;
						font-family: PingFang SC;
						font-weight: 500;
						font-size: 24rpx;
						color: #9F6F26;
						line-height: 48rpx;
					}
				}
		
				&_time {
					position: absolute;
					top: 75rpx;
					left: 138rpx;
					font-family: PingFang SC;
					font-weight: 500;
					font-size: 24rpx;
					color: #999999;
					line-height: 36rpx;
				}
				&_money {
					position: absolute;
					top: 25rpx;
					right: 29rpx;
					font-family: D-DIN Condensed;
					font-weight: bold;
					font-size: 40rpx;
					color: #333333;
					line-height: 48rpx;
				}
				&_last {
					position: absolute;
					bottom: 24rpx;
					right: 29rpx;
					font-family: PingFang SC;
					font-weight: 500;
					font-size: 24rpx;
					color: #999999;
					line-height: 48rpx;
				}
			}
		}
	}
</style>
